package xyz.xtt.equity.client.request;

import java.io.Serial;
import java.io.Serializable;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import lombok.Data;
import xyz.xtt.equity.api.enums.TblBenefitPackageEnum;
import xyz.xtt.equity.api.enums.UserBenefitSourceTypeEnum;

/**
 * @author dale
 * @date 2025/3/4
 **/
@Data
@Valid
public class SendFreeBenefitPackageRequest implements Serializable {

	@Serial
	private static final long serialVersionUID = -1099913212165113945L;
	/**
	 * 权益包code,参考 {@link TblBenefitPackageEnum#name()}
	 */
	@NotNull
	private String packageCode;
	@Positive
	private long appUserId;
	@Positive
	private int sendNum;
	/**
	 * 权益来源类型,参考 {@link UserBenefitSourceTypeEnum#name()}
	 */
	@NotNull
	private String sourceType;
	private Long sourceRefId;

}
